﻿<div class="nav_bar">
    <div class="wrap" style="z-index: 1000">
        <div id="allSortOuterbox" class="not_index">
            <h2 class="all_sort_link fl">
                <a class="fl" href="">所有商品分类</a></h2>
            <div id="allCategoryHeader" class="allsort_out_box" style="display: none">
                <div class="allsort_out">
                    <ul class="allsort">
                        @{
                            var cat1 = 1000;
                            var cat2 = 2000;
                            var cat3 = 3000;
                        }
                        @foreach (DataRow dr in V5.GZProduct.Query_By_List("*", " And ParentTypeID='00000000-0000-0000-0000-000000000000' ", " ClassCode asc", 15).Rows) {
                            <li>
                                <h3>
                                    <a title="@dr["TypeName"]" target="_blank" href="@V5.Url.Action("Product/category", new { ID = dr["ID"].ToString() })">@dr["TypeName"]</a>
                                </h3>
                                <div style="min-height: 480px; height: 481px;" class="show_sort" categoryid="@(cat1)">
                                    <div class="show_sort_l fl">
                                        @foreach (DataRow dr2 in V5.GZProduct.Query_By_List("*", " And ParentTypeID='" + @dr["ID"] + "'", "", 12).Rows) {
                                
                                            <dl>
                                                <dt><a tk="CatMenu_@(cat2)" href="@V5.Url.Action("Product/category", new { ID = dr2["ID"].ToString() })"
                                    target="_blank">@dr2["TypeName"]</a></dt>
                                                @foreach (DataRow dr3 in V5.GZProduct.Query_By_List("*", " And ParentTypeID='" +
                                @dr2["ID"] + "'", "", 7).Rows) {
                                                    <dd>
                                                        <a tk="CatMenu_@(cat3)" target="_blank" href="@V5.Url.Action("Product/category", new { ID = dr3["ID"].ToString() })">@dr3["TypeName"]</a></dd>
                                                    cat3 = cat3 + 1;
                                                }
                                            </dl>
                                                cat2 = cat2 + 1;
                                        }
                                    </div>
                                    <div class="show_sort_r fl">
                                        <div class="sort_banner">
                                            <a target="_blank" href="http://www.yihaodian.com/channel/5135_3/">食品饮料、酒水频道<img
                                                src="http://image.yihaodianimg.com/statics/global/images/sort_banner_arrow.png"></a></div>
                                        <div class="recommend_link">
                                            <ul>
                                                <li><a target="_blank" href="http://www.yihaodian.com/cmsPage/show.do?pageId=1565"
                                                    tk="34_349013_1" title="1号店大酒窖">1号店大酒窖</a></li>
                                                <li><a target="_blank" href="http://www.yihaodian.com/cmsPage/show.do?pageId=5089"
                                                    tk="34_418966_2" title="1号冲饮中心新版上线，优惠中...">1号冲饮中心新版上线，优惠中...</a></li>
                                                <li><a target="_blank" href="http://www.yihaodian.com/cmsPage/show.do?pageId=5145"
                                                    tk="34_359213_3" title="零食大折扣，9元任选3件！">零食大折扣，9元任选3件！</a></li>
                                                <li><a target="_blank" href="http://www.yihaodian.com/cmsPage/show.do?pageId=5821"
                                                    tk="34_418969_4" title="咖啡茗茶荟萃，夏季花茶特价">咖啡茗茶荟萃，夏季花茶特价</a></li>
                                            </ul>
                                        </div>
                                        <div class="recommend_brand">
                                            <h3>
                                                推荐品牌</h3>
                                            <ul>
                                                <li><a target="_blank" href="http://www.yihaodian.com/brand/519" tk="34_387861_1"
                                                    title="可口可乐">可口可乐</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E7%25AB%258B%25E9%25A1%25BF"
                                                    tk="34_195091_2" title="立顿">立顿</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E9%259B%2580%25E5%25B7%25A2"
                                                    tk="34_195092_3" title="Nestle/雀巢">Nestle/雀巢</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E5%25A5%25A5%25E5%2588%25A9%25E5%25A5%25A5"
                                                    tk="34_195093_4" title="奥利奥">奥利奥</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E5%25BA%25B7%25E5%25B8%2588%25E5%2582%2585"
                                                    tk="34_195094_5" title="康师傅">康师傅</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E7%25BB%259F%25E4%25B8%2580"
                                                    tk="34_195095_6" title="统一">统一</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E7%25A6%258F%25E4%25B8%25B4%25E9%2597%25A8"
                                                    tk="34_195103_7" title="福临门">福临门</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E8%2592%2599%25E7%2589%259B"
                                                    tk="34_195097_8" title="蒙牛">蒙牛</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E4%25BC%258A%25E5%2588%25A9"
                                                    tk="34_195098_9" title="伊利">伊利</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E9%2598%25BF%25E6%2598%258E"
                                                    tk="34_195099_10" title="阿明">阿明</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E7%25AB%258B%25E4%25B8%25B0"
                                                    tk="34_195100_11" title="立丰">立丰</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E5%2592%258F%25E8%2590%2584%2520Everwines"
                                                    tk="34_195101_12" title="Everwines/咏萄">Everwines/咏萄</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E9%2587%2591%25E9%25BE%2599%25E9%25B1%25BC"
                                                    tk="34_195102_13" title="金龙鱼">金龙鱼</a></li>
                                                <li><a target="_blank" href="http://search.yihaodian.com/s/c0-k%25E5%2585%2589%25E6%2598%258E"
                                                    tk="34_195096_14" title="光明">光明</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </li>
                                        cat1 = cat1 + 1;
                        }
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
